From 915b2a6c339a4c589e06e3d316c06de7b2812b1a Mon Sep 17 00:00:00 2001 From: robertlipe Date: Sun, 13 Apr 2014 03:37:55 +0000 Subject: [PATCH] Well, isn't this fun? The newly added Garmin format overlows an internal hardcoded buffer when we format our help options, such as we do when we make doc...like one does when trying to make a release. Argh! git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4807 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/xcsv.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gpsbabel/xcsv.cc b/gpsbabel/xcsv.cc index b1d9e84cb..88cf49ea5 100644 --- a/gpsbabel/xcsv.cc +++ b/gpsbabel/xcsv.cc @@ -515,7 +515,9 @@ xcsv_parse_style_line(char* sbuff) static void xcsv_parse_style_buff(const char* sbuff) { - char ibuf[256]; + // FIXME: should not be a static buf. Should not be a raw character + // buffer at all! + char ibuf[4096]; char* ibufp; size_t i; -- 2.30.2